<?php

use yii\helpers\Html;
use yii\bootstrap\BootstrapAsset;
BootstrapAsset::register($this);
$this->title = '仔猪增长异常统计';
?>


<div class="row">
    <div class="col-md-10 col-md-offset-1" style="margin-top: 70px">
        <!--work progress start-->
        <section class="panel">
            <div class="panel-body progress-panel">
                <div class="task-progress">
                    <h1>防疫异常统计(<?= $batch ?>批次统计详情)</h1>
                </div>
                <div class="task-option">
                </div>
            </div>
            <table class="table table-hover">
                <tbody>
                <tr>
                    <th>
                        仔猪编号
                    </th>
                    <th>
                        待防疫疫苗
                    </th>
                </tr>
                <?php foreach ($list as $key => $row) { ?>
                    <tr>
                        <td>
                            <?= $key ?>
                        </td>
                        <td>
                            <?php foreach ($row as $k => $v) { ?>
                                <span class="btn btn-danger btn-xs"><?= $v['vaccinename'] ?></span>
                            <?php } ?>
                        </td>
                    </tr>
                <?php } ?>
                </tbody>
            </table>
        </section>
        <!--work progress end-->
    </div>
</div>
